package com.lmf.spring5.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration  //声明为配置类，替代xml文件
@ComponentScan(basePackages = "com.lmf.spring5.config")  //开启扫描注解组件，指定扫描路径
@EnableAspectJAutoProxy(proxyTargetClass = true)  //开启 Aspect功能 生成代理对象
public class Config {
}
